$(function() {
    ///
    new Chart($("#chart-area-1"), {
        type: 'line',
        data: {
            labels: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "七月", "七月", "七月"],
            datasets: [{
                label: "收入",
                backgroundColor: "rgba(51,202,185,0.5)",
                borderWidth: 0,
                borderColor: "rgba(0,0,0,0)",
                data: [0, 59, 80, 58, 20, 55, 40, 20, 55, 40]
            }]
        },
        options: {
            legend: {
                display: false
            },
        }
    });

    new Chart($("#chart-pie"), {
        type: 'pie',
        data: {
            labels: ["服装", "家电", "家具", "男装", '女装 ', '白酒'],
            datasets: [{
                data: [150, 50, 40, 50, 60, 40],
                backgroundColor: ['rgba(255,99,132,1)', 'rgba(54, 162, 235, 1)', 'rgba(255, 206, 86, 1)', '#00FFFF', '	#F5F5DC', '#D3D3D3']
            }]
        },
        options: {
            responsive: false
        }
    });
})